package cn.iocoder.yudao.module.system.controller.admin.holiday.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 节假日信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HolidayRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1831")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "日期")
    @ExcelProperty("日期")
    private LocalDate date;

    @Schema(description = "是否法定节日期标识,1:是,0:否")
    @ExcelProperty("是否法定节日期标识,1:是,0:否")
    private Integer holiday;

    @Schema(description = "年份")
    @ExcelProperty("年份")
    private Integer year;

    @Schema(description = "月份")
    @ExcelProperty("月份")
    private Integer month;

    @Schema(description = "日")
    @ExcelProperty("日")
    private Integer day;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}